

{if $type==1 }
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('edit')}">
    <input style="display:none;" name="row[type]" value="{$type}" type="text" readonly>
    <input style="display:none;" name="row[order_id]" value="{$row.order_id}" type="text" readonly>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">插旗备注:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-flag_remarks-id" data-rule="required" class="form-control  form-control" rows="5" name="row[flag_remarks]" cols="50">{$row.flag_remarks}</textarea>
        </div>
    </div>
</form>
{else  /}
    <ul id="myTab" class="nav nav-tabs">
        <li class="active">
            <a href="#home" data-toggle="tab">
                订单信息
            </a>
        </li>
        <li><a href="#real" data-toggle="tab">订单图片</a></li>
    </ul>
    <div id="myTabContent" class="tab-content">
        <div class="tab-pane fade in active" id="home">
            <form id="edit-form-1" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="" style="margin-top: 20px;">
                <div class="row">
                    <div class="col-sm-6">
                         <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">淘宝号:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-tao_bao_no" data-rule="required" class="form-control form-control" name="row[tao_bao_no]" type="text" value="{$row.tao_bao_no}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">订单编号:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-order_sno" data-rule="required" class="form-control form-control" name="row[order_sno]" type="text" value="{$row.order_sno}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">淘宝订单号（已付款）:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-tao_bao_order_no" data-rule="required" class="form-control form-control" name="row[tao_bao_order_no]" type="text" value="{$row.tao_bao_order_no}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">淘宝订单号（未付款）:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-tao_bao_no_wait" data-rule="required" class="form-control form-control" name="row[tao_bao_no_wait]" type="text" value="{$row.tao_bao_no_wait}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">店铺名称:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-shop_name" data-rule="required" class="form-control form-control" name="row[shop_name]" type="text" value="{$row.task.shop.shop_name}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">拍下价格:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-beat_price" data-rule="required" class="form-control form-control" name="row[beat_price]" type="text" value="{$row.beat_price}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">客服改价:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-service_change_price" data-rule="required" class="form-control form-control" name="row[service_change_price]" type="text" value="{$row.service_change_price}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商品链接:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-goods_url" data-rule="required" class="form-control form-control" name="row[goods_url]" type="text" value="{$row.task.goods_url}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商品主图:</label>
                            <div class="col-xs-12 col-sm-8">
                                <!--<input id="c-goods_main_pic" data-rule="required" class="form-control form-control" name="row[goods_main_pic]" type="text" value="{$row.task.goods_main_pic}" readonly>-->
                                 <img data-url="{$row.task.goods_main_pic}"  class="img-rounded" id="zoom-marker-img-alt" name="zoom-marker-img-alt" draggable="false" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">所属房间:</label>
                            <div class="col-xs-12 col-sm-8">
                                <select  id="c-room" data-rule="required" class="form-control selectpicker" name="row[room]">
                                    <option value="1" {if $row.room=="1" }selected{/if}>1号房间</option>
                                    <option value="2" {if $row.room=="2" }selected{/if}>2号房间</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">其他要求:</label>
                            <div class="col-xs-12 col-sm-8">
                                <input id="c-other_requirement" data-rule="required" class="form-control form-control" name="row[other_requirement]" type="text" value="{$row.task.other_requirement}" readonly>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">待付款图:</label>
                            <div class="col-xs-12 col-sm-8">
                                <!--<input id="c-payment_img" data-rule="required" class="form-control form-control" name="row[payment_img]" type="text" value="{$row.order_image.payment_img}" readonly>-->
                               <img data-url="{$row.order_image.payment_img}"  class="img-rounded" id="zoom-marker-img-alt-1" name="zoom-marker-img-alt-1" draggable="false" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="tab-pane fade" id="real">
            <form id="edit-form-2" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="" style="margin-top: 20px;">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">猜你喜欢截图:</label>
                            <div class="col-xs-12 col-sm-8">
                               <img data-url="{$row.order_image.enjoyed_img}"  class="img-rounded" id="zoom-marker-img-alt-2" name="zoom-marker-img-alt-2" draggable="false" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">货比三家(第一家):</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.one_house}" id="zoom-marker-img-alt-3" name="zoom-marker-img-alt-3" draggable="false"  class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">货比三家(第二家):</label>
                            <div class="col-xs-12 col-sm-8">
                              <img data-url="{$row.order_image.two_house}"  id="zoom-marker-img-alt-4" name="zoom-marker-img-alt-4" draggable="false"  class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">货比三家(第三家):</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.three_house}" id="zoom-marker-img-alt-5" name="zoom-marker-img-alt-5" draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">主款5分钟（上）:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.main_img_up}" id="zoom-marker-img-alt-6" name="zoom-marker-img-alt-6" draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">主款5分钟（中）:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.main_img_mid}" id="zoom-marker-img-alt-7" name="zoom-marker-img-alt-7" draggable="false"  class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">主款5分钟（下）:</label>
                            <div class="col-xs-12 col-sm-8">
                               <img data-url="{$row.order_image.main_img_low}" id="zoom-marker-img-alt-8" name="zoom-marker-img-alt-8"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">产品搜索图:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.pro_search_img}" id="zoom-marker-img-alt-9" name="zoom-marker-img-alt-9"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">主款截图:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.main_cat_img}" id="zoom-marker-img-alt-10" name="zoom-marker-img-alt-10"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">产品收藏:</label>
                            <div class="col-xs-12 col-sm-8">
                              <img data-url="{$row.order_image.pro_collect_img}" id="zoom-marker-img-alt-11" name="zoom-marker-img-alt-11"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">店铺收藏:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.order_image.store_collect_img}"  id="zoom-marker-img-alt-12" name="zoom-marker-img-alt-12"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">假聊截图:</label>
                            <div class="col-xs-12 col-sm-8">
                              <img data-url="{$row.order_image.fake_chat_img}"  id="zoom-marker-img-alt-13" name="zoom-marker-img-alt-13"  draggable="false"  class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商家指定评论:</label>
                            <div class="col-xs-12 col-sm-8">
                             <img src="{$row.praise.praise_cat_img}" id="zoom-marker-img-alt-14" name="zoom-marker-img-alt-14"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商家指定晒图:</label>
                            <div class="col-xs-12 col-sm-8">
                               <img data-url="{$row.praise.praise_img}" id="zoom-marker-img-alt-15" name="zoom-marker-img-alt-15"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商家指定追评:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img data-url="{$row.review.praise_cat_img}" id="zoom-marker-img-alt-16" name="zoom-marker-img-alt-16"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">商家指定追评晒图:</label>
                            <div class="col-xs-12 col-sm-8">
                               <img data-url="{$row.praise.praise_img}" id="zoom-marker-img-alt-17" name="zoom-marker-img-alt-17"  draggable="false" class="img-rounded" style="width: 100px;height:100px;">
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>

    </div>
{/if}

